home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
1122
/
1122.xpi
/
chrome
/
tabmixplus.jar
/
content
/
tabmixplus
/
tab
/
text.xml
< prev
Wrap
Extensible Markup Language
|
2008-08-16
|
890b
|
31 lines
<?xml version="1.0"?>
<bindings id="tmp_textbindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:xbl="http://www.mozilla.org/xbl">
<binding id="tmp-text-link" extends="chrome://global/content/bindings/text.xml#text-link">
<handlers>
<handler event="click" phase="capturing" button="0">
<![CDATA[
var href = event.target.getAttribute('href');
if (!href)
return;
eval("this.open ="+this.open.toString().replace(
'win.open(uri.spec);',
'win.TMP_openURL(uri.spec, event);'
).replace(
'win.open(href);',
'win.TMP_openURL(href, event);'
));
this.open(event);
]]>
</handler>
</handlers>
</binding>
</bindings>